const express = require('express')
// 创建路由对象
const router = express.Router()

const addorder_handler = require('../router_handler/addorder')


// 发送结算列表
router.post('/addorder', addorder_handler.addOrder)


// 获取结算列表
router.get('/orderList', addorder_handler.orderList)

// 提交订单列表
router.post('/submitOrder', addorder_handler.submitOrder)

//查询订单
router.post('/selectOrder', addorder_handler.selectOrder)

// 发起支付
router.post('/payment', addorder_handler.payMent)


// 发起支付
router.post('/successPayment', addorder_handler.successPayment)

// 待付款
router.get('/noPayment', addorder_handler.noPayment)

// 已付款
router.get('/yiPayment', addorder_handler.yiPayment)


// 导出
module.exports = router